const express = require('express');

var server = new express();
server.listen(8889);

var userRouter = new express.Router();

userRouter.get('/test', function(req, res) {
    res.send('router testing');
});

server.use('/user', userRouter);